package com.lightningtrade.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "订单实体类")
public class SysOrder {

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(Integer productQuantity) {
        this.productQuantity = productQuantity;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getCompleteStatus() {
        return completeStatus;
    }

    public void setCompleteStatus(Integer completeStatus) {
        this.completeStatus = completeStatus;
    }

    public Integer getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(Integer paymentStatus) {
        this.paymentStatus = paymentStatus;
    }

    public Integer getCancelStatus() {
        return cancelStatus;
    }

    public void setCancelStatus(Integer cancelStatus) {
        this.cancelStatus = cancelStatus;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    @ApiModelProperty(value = "订单编号", example = "10001")
    private Long id;

    @ApiModelProperty(value = "用户编号", example = "1")
    private Integer uid;


    @ApiModelProperty(value = "商品编号", example = "101")
    private Integer productId;

    @ApiModelProperty(value = "商品数量", example = "2")
    private Integer productQuantity;

    @ApiModelProperty(value = "总金额", example = "199.99")
    private Double totalPrice;

    @ApiModelProperty(value = "订单状态", notes = "0表示执行中, 1表示已完成", example = "0")
    private Integer completeStatus;

    @ApiModelProperty(value = "支付状态", notes = "0表示未支付, 1表示已支付", example = "0")
    private Integer paymentStatus;

    @ApiModelProperty(value = "取消状态", notes = "0表示未取消, 1表示已取消", example = "0")
    private Integer cancelStatus;

    @ApiModelProperty(value = "创建时间", example = "2024-12-01 12:00:00")
    private String createdAt;

    @ApiModelProperty(value = "更新时间", example = "2024-12-01 14:00:00")
    private String updatedAt;
}
